<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>后台管理系统</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/css/public.css" media="all" />
	<style>
		span.button.root_close::before {
			content: "\e623";
		}
		span.button.root_open::before {
			content: "\e625";
		}
	</style>
</head>
<body class="childrenBody">
<form class="layui-form" action="" lay-filter="component-form-element">
	<div class="layui-form-item">
	</div>
	<div class="layui-row layui-col-space10 layui-form-item">
		<div class="layui-col-lg6">
			<label class="layui-form-label">新闻标题</label>
			<div class="layui-input-inline">
				<!-- 隐藏id 后台确认 -->
				<input type="hidden" name="id" id="id">
				<input type="text" name="title" id="title"  placeholder="" autocomplete="off" class="layui-input">
			</div>
		</div>
	</div>


	<div class="layui-form-item">
		<div class="layui-col-lg6">
			<label class="layui-form-label">新闻类型</label>
			<div class="layui-input-block">
				<select name="newsTypeId" id="newsTypeId">
					<option value="">请选择</option>
				</select>
			</div>
		</div>
	</div>

	<div class="layui-row layui-col-space10 layui-form-item">
		<div class="layui-col-lg6">
			<label class="layui-form-label">新闻来源</label>
			<div class="layui-input-inline">
				<input type="text" name="source" id="source"  placeholder="" autocomplete="off" class="layui-input">
			</div>
		</div>
	</div>

	<div class="layui-row layui-col-space10 layui-form-item">
		<div class="layui-col-lg6">
			<label class="layui-form-label">新闻简介</label>
			<div class="layui-input-inline">
				<input type="text" name="brief" id="brief"  placeholder="" autocomplete="off" class="layui-input">
			</div>
		</div>
	</div>

	<div class="layui-row">
		<div class="magb15 layui-col-md4 layui-col-xs12">
			<label class="layui-form-label">新闻状态</label>
			<div class="layui-input-block " id="isHot">

				<input type="radio" name="isHot" value="0" title="普通新闻"  />
				<input type="radio" name="isHot" value="1" title="热门新闻" />

			</div>
		</div>
	</div>

	<div class="layui-col-md3 layui-col-xs12 user_right">
		<div class="layui-upload-list">
			<input type="hidden" name="pic" id="photo" class="pic">
			<img width="200" height="200" name="uploadFile" class="layui-upload-img userFaceBtn userAvatar" id="uploadImage">
		</div>
		<button type="button" class="layui-btn layui-btn-primary userFaceBtn"><i class="layui-icon">&#xe67c;</i> 此处上传图片</button>
	</div>
	<%--<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">新闻详情</label>
		<div class="layui-input-block">
			<textarea placeholder="请输入新闻详情" class="layui-textarea newsDetail" name="newsDetail"></textarea>
		</div>
	</div>--%>

	<div class="layui-form-item layui-row layui-col-xs12">
		<br/>
		<label class="layui-form-label">新闻详情</label>
		<div class="layui-input-block">
			<%--<input type="hidden" name="newsDetail" id="newsDetail1" class="newsDetail1">--%>
			<textarea placeholder="请输入新闻详情" id="newsDetail" class="layui-textarea newsDetail" name="newsDetail"></textarea>
		</div>
	</div>

	<div class="layui-row layui-col-space10 layui-form-item">
		<div class="layui-col-lg6">
			<label class="layui-form-label">备注信息</label>
			<div class="layui-input-inline">
				<input type="text" name="remarks" id="remarks"  placeholder="" autocomplete="off" class="layui-input">
			</div>
		</div>
	</div>




	<div class="layui-form-item">
		<div class="layui-input-block">
			<button class="layui-btn" lay-submit lay-filter="edit">提交修改</button>
			<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="/layui/layui.js"></script>
<script src="/js/common/jquery-3.3.1.js"></script>
<script src="/js/common/jquery.cookie.js"></script>
<script src="/layui/mymodule/common.js"></script>
<script type="text/javascript" src="/js/agriecom_news/newsEdit.js"></script>
</body>
</html>